<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
<h1>测试</h1>

<form action="/toHtml"  method="post" enctype="multipart/form-data">
    <input type="file" id="file" name="file" value="请上传图片" />
    <input type="submit" id="submit" value="上传"/>
</form>
</body>
</html>